package cn.edu.scau.cmi.xiongyi.AbstractFactory.brandinterface;
import cn.edu.scau.cmi.xiongyi.AbstractFactory.brandinterface.Meat;

public abstract class AbstractFactory {
                 public static AbstractFactory choose(String brand) {
                	 switch(brand) {
                	 case "Aonong":
                		 return new AonongFactory();
                		
                	 case "Wens":
                		 return new WensFactory();
                		
                	 case "Tianbang":
                		 return new TianbangFactory();
                		
                	 }
                	 return null;
                 }
                 public abstract Meat producePork();
                 public abstract Meat produceBeef();
                 public abstract Meat produceChicken();
}
//1